package com.dengyuanke.entity.enums;

import com.baomidou.mybatisplus.enums.IEnum;

import java.io.Serializable;

/**
 * Created by dengyuanke on 2017/11/9.
 */
public enum FileEnum implements IEnum{
    GOODSTHUMB(1,"商品略缩图"),
    GOODSDETAILS(2,"商品详情图"),
    CAROUSEL(3,"轮播图");

    private int val;
    private String des;

    FileEnum(int val, String des) {
        this.val = val;
        this.des = des;
    }

    @Override
    public Serializable getValue() {
        return this.val;
    }
}
